package com.un.ebs.inventory.dto;

import com.un.ebs.inventory.enums.BusinessRelationTypeEnum;
import com.un.ebs.sys.dto.EntAddDto;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * <p>
 *
 * </p>
 *
 * @author liubo
 * @create 2021-03-09 17:11
 */
@Data
public class EntRelationUpdateDto extends EntAddDto {

    private String entId;

    private String id;

    @NotNull(message = "往来单位类型不能为空。")
    private BusinessRelationTypeEnum relationType;
}
